package com.jinsi.constant;

/**
 * @Description TODO
 * @ClassName Ylt
 * @Content 姚龙腾使用的常量
 * @Author 姚龙腾
 * @Date 2022/10/13 15:14
 */
public final class YltConstant {
    /**
     * 当前类的创建人
     */
    public static final String MY_NAME = "姚龙腾";

    /**
     * layui表格 code响应值
     */
    public static final int LAYUI_CODE = 0;

    /**
     * layui表格 msg响应信息
     */
    public static final String LAYUI_MSG = "成功";

    /**
     * index首页名称配置
     */
    public static final String INDEX_TITLE = "👉你关不掉我的👈";

    /**
     * index首页路径配置
     */
    public static final String INDEX_HREF = "../home/home.html";

    /**
     * index左侧展示图片
     */
    public static final String GIRL_IMG = "images/girl.png";
    public static final String MAN_IMG = "images/man.png";
    public static final String DEFAULT_IMG = "images/logo.png";

    /**
     * 当前用户性别判断
     * 0 : 女
     * 1 : 男
     */
    public static final int GIRL_SEX = 0;
    public static final int MAN_SEX = 1;

    /**
     * 当前用户拥有权限的个数
     */
    public static final int ROLE_ADMIN = 4;
    public static final int ROLE_YYTEACHER = 3;
    public static final int ROLE_TEACHER = 2;

    /**
     * redis根据权限存取数据名称
     */
    public static final String REDIS_ADMIN = "admin";
    public static final String REDIS_YYTEACHER = "yyTeacher";
    public static final String REDIS_TEACHER = "teacher";
    public static final String REDIS_USER = "user";
}
